import request from '@/utils/request'

// 查询告警发送情况日志列表
export function listAlartLog(query) {
  return request({
    url: '/streaming/AlartLog/list',
    method: 'get',
    params: query
  })
}

// 查询告警发送情况日志详细
export function getAlartLog(id) {
  return request({
    url: '/streaming/AlartLog/' + id,
    method: 'get'
  })
}

// 新增告警发送情况日志
export function addAlartLog(data) {
  return request({
    url: '/streaming/AlartLog',
    method: 'post',
    data: data
  })
}

// 修改告警发送情况日志
export function updateAlartLog(data) {
  return request({
    url: '/streaming/AlartLog',
    method: 'put',
    data: data
  })
}

// 删除告警发送情况日志
export function delAlartLog(id) {
  return request({
    url: '/streaming/AlartLog/' + id,
    method: 'delete'
  })
}

// 导出告警发送情况日志
export function exportAlartLog(query) {
  return request({
    url: '/streaming/AlartLog/export',
    method: 'get',
    params: query
  })
}